		<div id="main_content">
		    <?php if (isset($confirma)) echo '<h2>***'.$confirma.'***</h2>';?>
		    <h2>Cadastrar novo Lote</h2>
		<?php echo form_open('evento/add_lote/')?>
		<?php echo validation_errors(); ?>
		    <br/>
			<label for="login">Selecione o Evento:</label>
			<select name="evento" id="evento">
			    <?php foreach($eventos as $e):?>
			    <option value="<?=$e->get_id();?>" <?php echo set_select('evento', $e->get_id()); ?>><?=$e->get_nome();?></option>
			    <?php endforeach;?>
			</select>
			<br/><br/>
			<label for="login">Nome:</label>
			<input class="login" type="text" name="nome" id="nome" value="<?php echo set_value('nome'); ?>" /><br /><br/>

			<label for="login">Quantidade de Ingressos (*)</label>
			<input class="login" type="text" name="total_ingressos" id="total_ingressos" value="<?php echo set_value('total_ingressos'); ?>" /><br /><br/>

			<label for="login">Preço (*)</label>
			<input class="login" type="text" name="preco" id="preco" value="<?php echo set_value('preco'); ?>" /><br /><br/>

			<br clear="all" />
		<?php if(isset($erro)) echo $erro;?>
            <input type="submit" name="btnEntrar" class="btnEntrar" value="Cadastrar" />

		</form>

	    </div>